﻿<%@ Page Title="Добавить группу" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="AddGroup.aspx.cs" Inherits="DepartmentOnline.AddGroup" %>

<asp:Content runat="server" ID="FeaturedContent" ContentPlaceHolderID="FeaturedContent">
    <section class="featured">
        <div class="content-wrapper">
            <hgroup class="title">
                <h1><%: Title %>.</h1>
            </hgroup>
        </div>
    </section>
</asp:Content>
<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
    <article>
        <asp:Wizard ID="Wizard1" runat="server" ActiveStepIndex="0" SideBarStyle-VerticalAlign="Top"  SkipLinkText="" SideBarStyle-Wrap="False" OnFinishButtonClick="FinishButton_Click" DisplaySideBar="False">
<SideBarStyle VerticalAlign="Top" ></SideBarStyle>
            <WizardSteps>
                <asp:WizardStep ID="WizardStep1" runat="server" Title="Введите информацию" StepType="Start">
                   <asp:Label ID="Label1" runat="server" Text="Курс"/>&nbsp;<asp:TextBox ID="CourseTB" runat="server" Width="50"/>&nbsp;
                            <asp:Label ID="Label2" runat="server" Text="Наименование группы"/>&nbsp;
                            <asp:TextBox ID="NumberTB" runat="server"/>
                   
                </asp:WizardStep>
                <asp:WizardStep ID="WizardStep2" runat="server" Title="Выберите учебный план" StepType="Finish">
                    <asp:Label ID="Label5" runat="server" Text="Учебный план"/>&nbsp;<asp:DropDownList ID="PlanList" runat="server" DataSourceID="EntityDataSource1" DataTextField="File" DataValueField="Id"></asp:DropDownList>
                </asp:WizardStep>
                <asp:WizardStep ID="WizardStep3" runat="server" StepType="Complete" Title="Готово!" AllowReturn="False" >
                    <asp:Label ID="Label4" runat="server" Text="Добавлена группа" /> <asp:Label ID="lbName" runat="server" Text="" /><br/>
                    <asp:Button ID="BackButton" runat="server" Text="Вернуться к списку" OnClick="RedirectBack"/>
                </asp:WizardStep>
            </WizardSteps>
        </asp:Wizard>
    </article>
    <aside>
    </aside>
    <asp:EntityDataSource ID="EntityDataSource1" runat="server" ConnectionString="name=departmentEntities" DefaultContainerName="departmentEntities" EntitySetName="Plans" EntityTypeFilter="Plan">
                    </asp:EntityDataSource>

</asp:Content>
